package com.ys.controller.api.sys;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.ys.service.sys.UtilService;
import com.ys.vo.R;

@Controller
@RequestMapping("/api/inter/hypeText")
public class ApiInterHypeTextController {

	@Autowired
	private UtilService utilService;
	
	@PostMapping("/getHypeText")
	@ResponseBody
	public R getHypeText(HttpServletRequest request, HttpServletResponse response,
			Integer type,
			Long id) {
		return utilService.getHypeText(type, id);
	}
}